﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace NetCoreSignalRChat.Common
{
    public class SignalRHelper
    {
        /// <summary>
        /// 保存用户与链接的对应关系
        /// </summary>
        /// <param name="token">用户id，根据token获取到对应的用户id</param>
        /// <param name="connectionId">链接id</param>
        public static bool AddConnectionId(string token, string connectionId)
        {


            return false;
        }
        
        /// <summary>
        /// 获取用户对应的链接id
        /// </summary>
        public static List<string> GetUserConnectionIds(string token)
        {
            var result = new List<string>();


            return result;
        }
    }
}
